package com.k2.whereareyou.xml;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

import com.k2.whereareyou.interfaces.IConstants;

@Root(name="request")
public class LoginXML implements IConstants{
	
    private int type = REQUEST_TYPE_LOGIN;
    private String id;
    private String email;
    private String pass;

	@Attribute(name="type")
	public int getType() {
		return type;
	}

	@Attribute(name="type")
	public void setType(int type) {
		this.type = type;
	}

	@Element(name="id")
	public String getId() {
		return id;
	}
    
    @Element(name="id")
	public void setId(String id) {
		this.id = id;
	}
    
	@Element(name="email")
	public String getEmail() {
		return email;
	}

	@Element(name="email")
	public void setEmail(String email) {
		this.email = email;
	}

	@Element(name="pass")
	public String getPass() {
		return pass;
	}

	@Element(name="pass")
	public void setPass(String pass) {
		this.pass = pass;
	}
	
}
